using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter36
{
	/// <summary>
	/// Example04: 4 The Image formed by a Concave Mirror
	/// Assume that a certain spherical mirror has a focal 
	/// length of +10.0 cm. Locate and describe the image for 
	/// object distances of
	/// (A)	25.0 cm
	/// (B)	10.0 cm, and
	/// (C)	5.00 cm
	/// </summary>
	public class Example04
	{
		public Example04()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Mirror m = new L.Mirror();
			m.FocalLength = 0.1;
			m.ObjectDistance = 0.25;
			m.FindImageDistance();
			result+=Convert.ToString(m.ImageDistance)+"\r\n";
		}
	}
}
